﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SCP_Company.aspx.cs" Inherits="Catering.Catering_Page.richang.SCP_Company" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../../Style/head.css" />
    <link rel="stylesheet" type="text/css" href="../../Style/center.css" />
    <link rel="stylesheet" type="text/css" href="../../Style/zhezhao.css" />
    <script src="../../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript" src="../../Scripts/My97DatePicker/WdatePicker.js"></script>
    <script src="../../Style/zhezhao.js" type="text/javascript"></script>
    <style type="text/css">
    #div_workinglist{width:1000px; height:400px; overflow:auto;}
    #div_workinglist table{ min-width:1000px; background-color:#C2DEF6;}
    #div_workinglist table th{ line-height:24px; text-align:center; font-weight:bold; background-color:#E5F1FD; padding:0px 3px;}
    #div_workinglist table td{ line-height:26px; text-align:center; background-color:#ffffff; padding:0px 5px;}
    #div_workinglist table td A{ color:#0066CC;}
    </style>
    <script type="text/javascript">
        function ShowUserInfo(pid) {
            $("#txt_UName").val("");
            $("#txt_Sex").val("");
            $("#txt_Old").val("");
            $("#txt_No").val("");
            $("#txt_Placeoforigin").val("");

            $("#txt_Education").val("");
            $("#txt_Professional").val("");
            $("#txt_Title").val("");
            $("#txt_Politicalaffiliation").val("");
            $("#txt_QQ").val("");

            $("#txt_MSN").val("");
            $("#txt_Tel").val("");
            $("#txt_Email").val("");
            $("#txt_ADD").val("");
            $("#txt_back").val("");

            $.ajax({
                type: "Post",
                url: "SCP_Area.aspx/GetPersonnelInfo",
                data: "{'PID':'" + pid + "'}",
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (data) {
                    if (data.d[0] == "OK") {
                        $("#txt_UName").val(data.d[1]);
                        $("#txt_Sex").val(data.d[2]);
                        $("#txt_Old").val(data.d[3]);
                        $("#txt_No").val(data.d[4]);
                        $("#txt_Placeoforigin").val(data.d[5]);

                        $("#txt_Education").val(data.d[6]);
                        $("#txt_Professional").val(data.d[7]);
                        $("#txt_Title").val(data.d[8]);
                        $("#txt_Politicalaffiliation").val(data.d[9]);
                        $("#txt_QQ").val(data.d[10]);

                        $("#txt_MSN").val(data.d[11]);
                        $("#txt_Tel").val(data.d[12]);
                        $("#txt_Email").val(data.d[13]);
                        $("#txt_ADD").val(data.d[14]);
                        $("#txt_back").val(data.d[15]);
                    }
                }
            });
            divshow("main", "bg");
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" ScriptMode="Release" EnablePartialRendering="false" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
    <div class="div_0207 left_width500" style="height: 30px; width:998px;">
        <table align="left" style="height: 30px" width="100%" border="0" cellspacing="0" cellpadding="0" class="ckgl_table">
            <tr>
                <td width="60" align="right">日期：</td>
                <td width="110" align="left">
                    <asp:TextBox ID="TextBox1" Text="" runat="server" CssClass="input_bg" Style="text-align: center; width: 100px;"></asp:TextBox>
                </td> 
                <td>&nbsp;</td> 
                <td width="100" align="right"><asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">开始统计</asp:LinkButton></td>
                <td width="10">&nbsp;</td> 
            </tr>
        </table>
    </div>
    <div class="div_0207 left_width500" style="width:1000px; border:none; ">
        <ul class="UL_PersonforMSN" runat="server" id="PersonForMSN"></ul>
        <div id="div_workinglist" runat="server" runat="server" style="margin-top:10px;overflow: auto;">
            
        </div>
    </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <asp:UpdatePanel ID="UpdatePanel2" Visible="false" runat="server">
        <ContentTemplate>
    <div id="bg" class="bg" style="display:block"></div>
    <div id="main" class="center_div" style="width:700px; height: 300px; padding: 0px;left:40%;
        margin-top: -100px;display:block">
        <div class="div_0207" style="width:698px; height:300px; margin:0px;">
            <h1><img src="../../Images/cp_h1_03.gif" /><span id="div_span_title">人员详细</span></h1>
            <table class="table_td_120" align="center" height="240" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="75" align="right">姓名：</td>
                    <td width="100">
                        <asp:TextBox ID="txt_UName" runat="server" style="width:100px;" CssClass="input_bg"></asp:TextBox>
                    </td>
                    <td width="50" align="right">性别：</td>
                    <td width="100">
                        <asp:TextBox ID="txt_Sex" runat="server" style="width:100px;" CssClass="input_bg"></asp:TextBox>
                    </td>
                    <td width="50" align="right">年龄：</td>
                    <td width="100">
                        <asp:TextBox ID="txt_Old" runat="server" style="width:100px;" CssClass="input_bg"></asp:TextBox>
                    </td>
                    <td width="75" align="right">身份证号：</td>
                    <td width="100">
                        <asp:TextBox ID="txt_No" runat="server" style="width:100px;" CssClass="input_bg"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">籍贯：</td>
                    <td>
                        <asp:TextBox ID="txt_Placeoforigin" style="width:100px;" runat="server" CssClass="input_bg"></asp:TextBox>
                    </td>
                    <td align="right">学历：</td>
                    <td>
                        <asp:TextBox ID="txt_Education" runat="server" style="width:100px;" CssClass="input_bg"></asp:TextBox>
                    </td>
                    <td align="right">专业：</td>
                    <td>
                        <asp:TextBox ID="txt_Professional" runat="server" style="width:100px;" CssClass="input_bg"></asp:TextBox>
                    </td>
                    <td align="right">职称：</td>
                    <td>
                        <asp:TextBox ID="txt_Title" runat="server" style="width:100px;" CssClass="input_bg"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">政治面貌：</td>
                    <td>
                        <asp:TextBox ID="txt_Politicalaffiliation" runat="server" style="width:100px;" CssClass="input_bg"></asp:TextBox>
                    </td>
                    <td align="right">QQ：</td>
                    <td>
                        <asp:TextBox ID="txt_QQ" runat="server" style="width:100px;" CssClass="input_bg"></asp:TextBox>
                    </td>
                    <td align="right">单位：</td>
                    <td>
                        <asp:TextBox ID="txt_MSN" runat="server" style="width:100px;" CssClass="input_bg"></asp:TextBox>
                    </td>
                    <td align="right">电话：</td>
                    <td>
                        <asp:TextBox ID="txt_Tel" runat="server" style="width:100px;" CssClass="input_bg"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">邮箱：</td>
                    <td>
                        <asp:TextBox ID="txt_Email" runat="server" style="width:100px;" CssClass="input_bg"></asp:TextBox>
                    </td>
                    <td align="right">地址：</td>
                    <td>
                        <asp:TextBox ID="txt_ADD" runat="server" style="width:100px;" CssClass="input_bg"></asp:TextBox>
                    </td>
                    <td align="right"></td>
                    <td></td>
                    <td align="right"></td>
                    <td></td>
                </tr>                        
                <tr>
                    <td align="right">
                        备注：
                    </td>
                    <td colspan="7">
                        <asp:TextBox ID="txt_back" runat="server" TextMode="MultiLine" style="width:520px;height:40px;" CssClass="input_bg"></asp:TextBox>
                    </td>
                </tr>
            </table>
            <table width="100%">
                <tr>
                    <td align="center">
                       <input type="button" id="but_Close" onclick='divhidel("main","bg")' class="input_btn_a" value="关闭" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
    </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
